using System;
using DevExpress.Xpo;

namespace Objects
{

    public class GiangVien : Nguoi
    {
        public GiangVien()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public GiangVien(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        private string _maGiangVien;

        public string MaGiangVien
        {
            get { return _maGiangVien; }
            set {SetPropertyValue("MaGiangVien", ref _maGiangVien, value); }
        }
        private int _hocHam;

        public int HocHam
        {
            get { return _hocHam; }
            set { SetPropertyValue("HocHam", ref _hocHam, value); }
        }
        private int _hocVi;

        public int HocVi
        {
            get { return _hocVi; }
            set {SetPropertyValue("HocVi", ref _hocVi, value); }
        }
        private Khoa _khoa;

        public Khoa Khoa
        {
            get { return _khoa; }
            set {SetPropertyValue("Khoa", ref _khoa, value); }
        }
    }

}